package com.zbf.tspring.tiaojianload;

import com.zbf.tspring.entity.TestOk;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/22  14:46
 * 描述:
 */
@Configuration
public class TestTiaoJianConfig {


    @Bean
    @Conditional(TiaoJianLei.class)
    public TestOk getMyUser(){
        return new TestOk();
    }

}
